package com.yfbao.horizon.docker.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Table;

@Getter
@Setter
//@Entity
//@EntityInfo(value = "分布式事务检查表", isPublic = true)
@Table(name = "ctp_user_trx_check")
public class TrxCheck  {

//    @EntityAttribute(value = "全局唯一事务id")
//    @Column(name = "trx_id", nullable = false, columnDefinition = "SMALLINT COMMENT '全局唯一事务id'")
    @TableId(value = "trx_id")
    private Long trxId;

//    @EntityAttribute(value = "服务名称", excludeFullTextSearch = true)
//    @Column(name = "service_name", nullable = false, columnDefinition = "SMALLINT COMMENT '服务名称'")
    private String serviceName;

//    @EntityAttribute(value = "调用类名", excludeFullTextSearch = true)
//    @Column(name = "class_name", nullable = false, columnDefinition = "SMALLINT COMMENT '调用类名'")
    private String className = "";

//    @EntityAttribute(value = "调用方法名", excludeFullTextSearch = true)
//    @Column(name = "method", nullable = false, columnDefinition = "SMALLINT COMMENT '调用方法名'")
    private String method = "";

//    @EntityAttribute(value = "参数内容", excludeFullTextSearch = true)
//    @Column(name = "param_data", nullable = false, columnDefinition = "SMALLINT COMMENT '参数内容'")
    private String paramData="";

//    @EntityAttribute(value = "参数个数", excludeFullTextSearch = true)
//    @Column(name = "param_size", nullable = false, columnDefinition = "SMALLINT COMMENT '参数个数'")
    private Integer paramSize=0;

//    @EntityAttribute(value = "业务检查结果", excludeFullTextSearch = true)
//    @Column(name = "check_res", nullable = false, columnDefinition = "SMALLINT COMMENT '业务检查结果'")
    private Boolean checkRes=true;

}
